package com.xbongbong.pro.sms.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @description:
 * @Author: hongxiao
 * @date: 2019-01-18 15:40
 */
@Getter
@Setter
@ToString
public class SmsLogListDTO extends BaseDTO {

    private static final Integer DEFAULT_OPERATE_LOG_PAGE_SIZE = 15;

    /**
     * 时间区间筛选
     */
    private List<String> timeSpan;
    /**
     * 模块查询
     */
    private Integer refType;
    /**
     * 电话查询
     */
    private String mobileLike;
    /**
     * 短信接收人查询
     */
    private String receiverLike;
    /**
     * 短信内容查询
     */
    private String contentLike;
    /**
     * 短信发送人查询
     */
    private String senderLike;
    /**
     * 短信发送状态查询
     */
    private Integer status;
    /**
     * 当前页
     */
    private Integer page;
    /**
     * 每页数量
     */
    private Integer pageSize;

    public SmsLogListDTO() {
        page = 1;
        pageSize = DEFAULT_OPERATE_LOG_PAGE_SIZE;
    }
}
